package com.mccken.designpattern.factory.abstract_factory.demo1;

/**
 * @program: mccken-collect
 * @description:
 * @author: mccken
 * @create: 2023-04-13 00:28
 **/
public class FactoryA implements IFactory{
	@Override
	public IProductA createProductA() {
		return new ProductAFamilyA();
	}
	@Override
	public IProductB createProductB() {
		return new ProductBFamilyA();
	}
}
